package com.ieng.kican.common.groups.captcha.domain;

import com.ieng.kican.common.groups.captcha.constant.TypeCaptcha;

public class CaptchaAttrs {
    private int width;
    private int height;
    private int len = 4;
    private TypeCaptcha type = TypeCaptcha.RANDOM;

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getLen() {
        return len;
    }

    public void setLen(int len) {
        this.len = len;
    }

    public TypeCaptcha getType() {
        return type;
    }

    public void setType(TypeCaptcha type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "CaptchaAttrs{" +
                "width=" + width +
                ", height=" + height +
                ", len=" + len +
                ", type=" + type +
                '}';
    }
}
